package com.baosight.risk.service.jlta.entity;

import com.baosight.risk.base.entity.BaseEntity;
import com.baosight.risk.common.annotation.Excel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * Table: T_JLTA_TASK
 */
@Data
@Table(name = "T_JLTA_TASK")
public class JltaTask extends BaseEntity implements Serializable {
    /**
     * 任务编码
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    TASK_CODE
     * Nullable:  true
     */
    @Excel(name = "任务编码")
    @Column(name = "TASK_CODE")
    private String taskCode;

    /**
     * 任务名称
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    TASK_NAME
     * Nullable:  true
     */
    @Excel(name = "任务名称")
    @Column(name = "TASK_NAME")
    private String taskName;

    /**
     * 团队id
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    TEAM_ID
     * Nullable:  true
     */
    @Column(name = "TEAM_ID")
    private String teamId;

    /**
     * 团队名称
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    TEAM_NAME
     * Nullable:  true
     */
    @Excel(name = "团队名称")
    @Column(name = "TEAM_NAME")
    private String teamName;

    /**
     * 文件id
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    FILE_ID
     * Nullable:  true
     */
    @Column(name = "FILE_ID")
    private String fileId;

    /**
     * 备注
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    REMARK
     * Nullable:  true
     */
    @Excel(name = "备注")
    @Column(name = "REMARK")
    private String remark;

    /**
     * 状态(0启用1禁用2草稿3待办4完结)
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    STATUS
     * Nullable:  true
     */
    @Column(name = "STATUS")
    private String status;

    /**
     * 优先级(1高2中3低)
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    PRIORITY
     * Nullable:  true
     */
    @Column(name = "PRIORITY")
    private String priority;

    /**
     * 审批人
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    ASSIGN
     * Nullable:  true
     */
    @Excel(name = "审批人")
    @Column(name = "ASSIGN")
    private String assign;
    /**
     * 状态
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    STATUS_NAME
     * Nullable:  true
     */
    @Excel(name = "状态")
    @Column(name = "STATUS_NAME")
    private String statusName;

    /**
     * 优先级
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    PRIORITY_NAME
     * Nullable:  true
     */
    @Excel(name = "优先级")
    @Column(name = "PRIORITY_NAME")
    private String priorityName;
    /**
     * 是否需要审批
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    ISAPPROVAL
     * Nullable:  true
     */
    @Column(name = "ISAPPROVAL")
    private String isapproval;
    /**
     * 是否需要审批
     * <p>
     * Table:     T_JLTA_TASK
     * Column:    ISAPPROVAL
     * Nullable:  true
     */
    @Column(name = "PLAN_DATE")
    private Date planDate;

    private static final long serialVersionUID = 1L;
}